updating oE atan2
atan2
include math.e namespace math public function atan2(atom y, atom x)
calculate the arctangent of a ratio.
Parameters:
- y : an atom, the numerator of the ratio
- x : an atom, the denominator of the ratio
Returns:
An atom, which is equal to arctan(y/x), except that it can handle zero denominator and is more accurate.
Example 1:
a = atan2(10.5, 3.1) -- a is 1.283713958
See Also:
Not Categorized, Please Help
|